export default {
  path: 'RentHouse',
  /* 布局基页 */
  indexRoute: {
    getComponent(nextState, callback) {
      require.ensure([], (require) => {
        callback(null, require('VIEW/RentHouse').default)
      }, 'RentHouse')
    },
  },

  childRoutes: [
    {
      path: 'HouseList',
      indexRoute: {
        component: require('VIEW/RentHouse/HouseList').default
      }
    },
    {
      path: 'HouseDetail',
      indexRoute: {
        component: require('VIEW/RentHouse/HouseDetail').default
      }
    },
    {
      path: 'ConfirmInfo',
      indexRoute: {
        component: require('VIEW/RentHouse/ConfirmInfo').default
      }
    },
    {
      path: 'Agreement',
      indexRoute: {
        component: require('VIEW/RentHouse/Agreement').default
      }
    },
    {
      path: 'LeaseInformation',
      indexRoute: {
        component: require('VIEW/RentHouse/LeaseInformation').default
      }
    },
    {
      path: 'Payment',
      indexRoute: {
        component: require('VIEW/RentHouse/Payment').default
      }
    }
    ,
    {
      path: 'PayMoney',
      indexRoute: {
        component: require('VIEW/RentHouse/PayMoney').default
      }
    },
    {
      path: 'RentApply',
      indexRoute: {
        component: require('VIEW/RentHouse/RentApply').default
      }
    }
  ]
}

